package cn.yunyichina.provider.base.service.impl;

import cn.yunyichina.provider.base.dao.RuleQueryDao;
import cn.yunyichina.provider.base.entity.RuleQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/9/2.
 */
@Service
public class RuleQueryServiceImpl {
    @Autowired
    private RuleQueryDao ruleQueryDao;


    public RuleQuery getRuleQuery(String hospitalId) {

        return ruleQueryDao.findByHospitalId(hospitalId);
    }
}
